You are looking at the HTML representation of the XML format.
HTML is good for debugging, but is unsuitable for application use.
Specify the format parameter to change the output format.
To see the non HTML representation of the XML format, set format=xml.
See the complete documentation, or API help for more information.
<?xml version="1.0"?>
<api>
  <query>
    <pages>
      <page ns="0" title="API" missing="" />
      <page pageid="1" ns="0" title="Main Page">
        <revisions>
          <rev user="Tomh" timestamp="2023-07-06T22:25:59Z" comment="" contentformat="text/x-wiki" contentmodel="wikitext" xml:space="preserve">{{TOC}}

This [http://en.wikipedia.org/wiki/Wiki wiki] complements the [http://www.nsnam.org/ main ns-3 web site]. 

'''Account Policy:''' Due to spam problems, we have disabled the ability to create new accounts and to edit/move pages without moderator approval; our experience on the ns-2 wiki with [http://www.mediawiki.org/wiki/Extension:ConfirmEdit Mediawiki captchas] has been ineffective.  If you would like to edit this wiki, please email [mailto:webmaster@nsnam.org?subject=ns-3-wiki-enable webmaster@nsnam.org] with your preferred username (different from your email address; see [http://www.mediawiki.org/wiki/Account_creation_user_experience/Usernames these guidelines]) and we will create the account and enable it for write privileges.  

'''Note:''' [http://www.isi.edu/nsnam/ns ns-2] has a separate wiki, at http://nsnam.sourceforge.net/wiki/index.php/Main_Page

{{Nsnam:Current events}}

== Current ns-3-dev Build and Test Results ==

We use the [https://gitlab.com/nsnam/ns-3-dev/-/pipelines GitLab.com continuous integration (CI) tool] to regularly test our development tree.</rev>
        </revisions>
      </page>
    </pages>
  </query>
</api>